Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 6 - Transform Objects / Transform Objects Reference
Functions / Manipulating Transform Object Properties


GXGetTransformOwners

You can use the GXGetTransformOwners function to determine the number of references to a particular transform object.

long GXGetTransformOwners(gxTransform source);
source
A reference to the transform object whose owner count you want to find.
function result
The owner count of the source transform object.
DESCRIPTION
The GXGetTransformOwners function returns a value indicating the number of current references to the source shape.

ERRORS, WARNINGS, AND NOTICES
Errors 
transform_is_nil 
SEE ALSO
Owner counts for transform objects are discussed in the section "Copying, Comparing, and Cloning Transform Objects" beginning on page 6-16, and in the section "Manipulating a Transform Object's Owner Count" beginning on page 6-19.

To increment the owner count of a transform object, use the GXCloneTransform function, described on page 6-37. To release a reference to a transform object, use the GXDisposeTransform function, described on page 6-34.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996